package com.tencent.wxcloudrun.vo.response.wx;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Ryan Zhao
 *         <p>
 *         Copyright: Copyright (c) 2023
 *         </p>
 * @version 1.0
 * @date 2023-08-29 14:55
 * @description: 微信下载文件请求出参
 */
@NoArgsConstructor
@Data
@ApiModel(value = "WxMsgSecCheckResponse", description = "微信文本内容安全识别请求出参")
public class WxMsgSecCheckResponse {

    @JsonProperty("errcode")
    private Integer errcode;

    @JsonProperty("errmsg")
    private String errmsg;

    @JsonProperty("trace_id")
    private String traceId;

    @ApiModelProperty("文件列表")
    @JsonProperty("result")
    private ResResultDTO result;

    @NoArgsConstructor
    @Data
    public static class ResResultDTO {

        @ApiModelProperty("建议，有risky、pass、review三种值")
        @JsonProperty("suggest")
        private String suggest;

        @ApiModelProperty("命中标签枚举值，100 正常；10001 广告；20001 时政；20002 色情；20003 辱骂；20006 违法犯罪；20008 欺诈；20012 低俗；20013 版权；21000 其他")
        @JsonProperty("label")
        private String label;

    }

}
